package com.leyou.pojo;

import com.leyou.common.vo.PageResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
public class SearchResult extends PageResult{
    private List<Brand> brands;
    private List<Category> categories;
    private List<Map<String,Object>> spec;
    public SearchResult(Long total, Long totalPage, List items, List<Brand> brands, List<Category> categories, List<Map<String, Object>> spec) {
        super(total, totalPage, items);
        this.brands = brands;
        this.categories = categories;
        this.spec = spec;
    }
}
